<div class="content">
	<div class="div-top" ng-hide="form.show">
		<span style="font-size: 20px;float:left;">{{menu_name}}</span>
		<div style="float:right;">
			<button ng-repeat="but in buttons" ng-click="clickBtn(but.event)" class="btn btn-{{but.style}}"><i class="iconfont {{but.img}}"></i>&nbsp;{{but.name}}</button>
		</div>
	</div>
	<div class="div-table">
		<table class="table table-hover  table-bordered">
			<thead>
			<tr>
				<th class="table-th-checkbox"><input type="checkbox" ng-click="checkAlls($event.target)" /></th>
				<th column="code" class="sorting" ng-click="order($event.target)">代码</th>
				<th column="name" class="sorting" ng-click="order($event.target)">名称</th>
				<th column="abbreviation" class="sorting" ng-click="order($event.target)">简称</th>
				<th column="fk_unit" class="sorting" ng-click="order($event.target)">校区</th>
				<th column="alias" class="sorting" ng-click="order($event.target)">别名</th>
				<th column="use_status" class="sorting" ng-click="order($event.target)">使用状态</th>
				<th column="boarding_data" class="sorting" ng-click="order($event.target)">登记日期</th>
				<th column="ramarks" class="sorting" ng-click="order($event.target)">备注</th>
			</tr>
			</thead>

			<tbody ng-switch on="page.current_num">
			<tr ng-switch-when="0">
				<td colspan="100">查询无记录</td>
			</tr>
			<tr ng-repeat="row in rows " ng-click="optData($event.currentTarget)">
				<td><input type="checkbox" name="dataPk" value="{{row.id}}" /></td>
				<td>{{row.code}}</td>
				<td>{{row.name}}</td>
				<td>{{row.abbreviation}}</td>
				<td>{{row.unit_name}}</td>
				<td>{{row.alias}}</td>
				<td ng-switch on="row.use_status">
					<span ng-switch-when="1">启用</span>
					<span ng-switch-when="2">禁用</span>
				</td>
				<td>{{row.boarding_data}}</td>
				<td>{{row.ramarks}}</td>
			</tr>
			</tbody>
		</table>
	</div>
	<div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page" ></div>
</div>